// The Vue build version to load with the `import` command全局引入
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
/* 解决按钮300毫秒延时问题 */
import fastClick from 'fastclick'
/* 引入轮播插件 */
import VueAwesomeSwiper from 'vue-awesome-swiper'
/* 引入vuex来实现，首页和城市页面传递数据 */
import store from './store'
//解决手机兼容问题,这里面已经修改了目录别名
import 'styles/reset.css'
import 'styles/border.css'
//引入iconfont
import 'styles/iconfont.css'
//引入swiper轮播样式
import 'swiper/dist/css/swiper.css'
//解决手机的白屏问题，支持promise
import 'babel-polyfill'


Vue.config.productionTip = false
/* 解决按钮300毫秒延时问题 */
fastClick.attach(document.body)
/* Vue.use使用这个插件 */
Vue.use(VueAwesomeSwiper)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
